﻿using QRCoder;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using static QRCoder.QRCodeGenerator;

namespace LibraryMIS_SE01
{
    public partial class AboutUS : Form
    {
        public AboutUS()
        {
            InitializeComponent();
        }

        private void AboutUS_Load(object sender, EventArgs e)
        {
            QRCodeGenerator QR = new QRCodeGenerator();
            var myQRCodeContent=QR.CreateQrCode("2019软件技术1班邓荣盛 荣誉出品", ECCLevel.H);
            var code = new QRCode(myQRCodeContent);
            pBoxQRCode.Image = code.GetGraphic(50);
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
